const router = require('koa-router')();
const admin = require('../modules/admin');

//获取数据
router.get('/admin',async(ctx,next) => {
    ctx.body = await admin.getAdmin();
})

module.exports = router;